package com.ssy.lingxi.order.repository;

import com.ssy.lingxi.order.entity.DeliveryNoticeOrderDO;
import com.ssy.lingxi.order.entity.DeliveryNoticeProductDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *  送货通知单送货物料jpa仓库
 * @author czh
 * @date 2022/2/21
 * @version 2.0.0
 */
@Repository
public interface DeliveryNoticeProductRepository extends JpaRepository<DeliveryNoticeProductDO, Long>, JpaSpecificationExecutor<DeliveryNoticeProductDO> {

    Integer deleteByNoticeOrder(DeliveryNoticeOrderDO orderDO);
}
